package com.appspot.checkflames.service;

import javax.jdo.PersistenceManager;

import com.appspot.checkflames.bean.Statistics;

public class UserStatisticsServiceImpl {
	
	private PersistenceManager mPersistenceManager;
	
	public void persistUserStatistics(Statistics statistics) {
		mPersistenceManager = SingletonPersistenceManagerFactory.get().getPersistenceManager();
		mPersistenceManager.makePersistent(statistics);
		mPersistenceManager.close();
	}
}
